FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER xx@gmail.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /sc-daemon-elastic-job

WORKDIR /sc-daemon-elastic-job

EXPOSE 5002

ADD ./sc-module/sc-daemon-elastic-job/target/sc-daemon-elastic-job.jar ./

CMD sleep 30;java -Djava.security.egd=file:/dev/./urandom -jar sc-daemon-elastic-job.jar
